package com.wz.service.impl;

import com.wz.entity.root;
import com.wz.mapper.RootMapper;
import com.wz.service.RootService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RootServiceImpl implements RootService {
    @Autowired
    RootMapper rootMapper;
    @Override
    public root getRoot(String name, String password){
        return rootMapper.findRoot(name,password);
    }

}
